{% extends 'answrs/base.html' %}

{% load webdesign %}

{% block content %}
<div id="mainpageblurb">
    <div class="col1">
        <img src="/site_media/images/ask.png" alt="ask" />
        <br />
            <h3>Ask</h3>
    </div>
    <div class="col1">
        <img src="/site_media/images/answer.png" alt="ask" />
        <br />
            <h3>Answer</h3>
    </div>
    <div class="col1">
        <img src="/site_media/images/share.png" alt="ask" />
        <br />
            <h3>Share</h3>
    </div>
    <p>
        Answrs allows you to tap into the collective intelligence of the world. Convesly, it allows the world's intellegence to flood you as well. Whether this is a good thing remains to be seen.
    </p>
    <p>
        {% if user.is_authenticated %}
            <ul>
                <li> <a href="/ask/">Ask a question</a></li>
                <li> <a href="/accounts/profile/">See your profile</a></li>
                <li> <a href="/random/">See a random page</a></li>
            </ul>
        {% else %}You haven't logged in yet! Why not
            <ul>
                <li> <a href="/accounts/login/">Login</a> or </li>
                <li> <a href="/accounts/create/">Register</a> It only takes 10 seconds, promise!</li>
            </ul>
        {% endif %}
</div>
{% endblock %}